﻿<UserControl x:Class="NicoView.View.BouyomichanPathRequestControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <StackPanel>
        <Grid Margin="20">
            
        
            <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"/>
                    <ColumnDefinition Width="*"/>
                    <ColumnDefinition Width="Auto"/>
            </Grid.ColumnDefinitions>
            <Label Content="棒読みちゃんパス" Grid.Column="0"   />
            <TextBox x:Name="PathInputBox" Text="{Binding Path=Path,Mode=OneWay}" Grid.Column="1"/>
            <Button x:Name="PathRequestButton" Content="..." Grid.Column="2"   Click="PathRequestButton_Click"/>
        </Grid>
        
        <Grid Height="20"/>
        
        <TextBlock HorizontalAlignment="Center" >
            <Run >
                棒読みちゃんをインストールしていない方は
            </Run>
            <Hyperlink Command="{Binding OpenBouyomiChanHomePage, Mode=OneWay}" >
                こちら
            </Hyperlink>
        </TextBlock>


    </StackPanel>
</UserControl>
